package c.d.a.a.i;

import android.graphics.Canvas;
import android.graphics.Path;
import c.d.a.a.a.a;
import c.d.a.a.j.h;

/* compiled from: LineScatterCandleRadarRenderer */
public abstract class g extends b {
    public Path g = new Path();

    public g(a aVar, h hVar) {
        super(aVar, hVar);
    }

    public void j(Canvas canvas, float f, float f2, c.d.a.a.f.b.g gVar) {
        this.d.setColor(gVar.Z());
        this.d.setStrokeWidth(gVar.Q());
        this.d.setPathEffect(gVar.u());
        if (gVar.o0()) {
            this.g.reset();
            this.g.moveTo(f, this.a.b.top);
            this.g.lineTo(f, this.a.b.bottom);
            canvas.drawPath(this.g, this.d);
        }
        if (gVar.u0()) {
            this.g.reset();
            this.g.moveTo(this.a.b.left, f2);
            this.g.lineTo(this.a.b.right, f2);
            canvas.drawPath(this.g, this.d);
        }
    }
}
